package com.passer.web.travel.domain;

import com.passer.common.annotation.Excel;
import com.passer.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 地图信息对象 t_map
 *
 * @author passer
 * @date 2021-11-23
 */
public class TMap extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地点id */
    private Long pid;

    /** 地点名称 */
    @Excel(name = "地点名称")
    private String pname;

    /** x坐标 */
    @Excel(name = "x坐标")
    private String x;

    /** y坐标 */
    @Excel(name = "y坐标")
    private String y;

    public void setPid(Long pid)
    {
        this.pid = pid;
    }

    public Long getPid()
    {
        return pid;
    }
    public void setPname(String pname)
    {
        this.pname = pname;
    }

    public String getPname()
    {
        return pname;
    }
    public void setX(String x)
    {
        this.x = x;
    }

    public String getX()
    {
        return x;
    }
    public void setY(String y)
    {
        this.y = y;
    }

    public String getY()
    {
        return y;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("pid", getPid())
            .append("pname", getPname())
            .append("x", getX())
            .append("y", getY())
            .toString();
    }
}
